import http from "@/utils/http";
import type { RegisterIndividual, RegisterEnterprise, RegisterIndividualBusiness } from "./type";
/**
 * 注册个人会员
 */
export const registerIndividual = (data:RegisterIndividual) =>
  http.post("/finance/member/register_individual_member", data);

/**
 * 注册企业会员
 */
export const registerOrganization = (data:RegisterEnterprise) =>
  http.post("/finance/member/register_enterprise_member", data);

/**
 * 注册个体工商户
 */
export const registerIndividualBusiness = (data:RegisterIndividualBusiness) =>
  http.post("/finance/member/register_sole_proprietorship_member", data);
/**
 * 根据会员身份证or企业代码查询会员信息
 */

